<template>
    <div class="w-full h-full flex flex-col">
        <div class="w-full flex flex-row ">
            <el-button type="primary" class=" bg-cmain_hover " @click="action_export_data(false)">
                导出本页
            </el-button>
            <el-button type="primary" class=" bg-cmain_hover ml-w10" @click="action_export_data(true)">导出全部
            </el-button>
        </div>
        <div class="w-full h-full mt-w20 ">
            <el-table :data="s_store.list_user" stripe style="width: 100%; " height="660">
                <el-table-column type="index" label="序号" min-width="5%">
                </el-table-column>
                <el-table-column prop="wxId" label="微信ID" min-width="15%">
                </el-table-column>
                <el-table-column prop="logo" label="头像" min-width="20%">
                    <template slot-scope="scope">
                        <el-image style="width: 117px; height: 55px" :src="scope.row.header" lazy
                            :preview-src-list="[scope.row.header]">
                        </el-image>
                    </template>
                </el-table-column>
                <el-table-column prop="name" label="微信名" min-width="20%">
                </el-table-column>
                <el-table-column prop="phone" label="电话" min-width="20%">
                </el-table-column>
            </el-table>
            <div class="w-full flex items-end justify-center" style="height:7%">
                <el-pagination background layout="prev, pager, next" :total="s_store.m_page.total"
                    :page-size="s_store.m_page.limit" @current-change="action_page_change">
                </el-pagination>
            </div>
        </div>
    </div>
</template>

<script src="./Index.ts"></script>
<style src="./Index.less" lang="less" scoped>

</style>
